#include "qmlapplicationviewer.h"
#include <QVBoxLayout>
#include <QPushButton>
#include <QApplication>
#include <QMainWindow>

class QAction;
class QLabel;
class FingDialog;
class MainGrafic;
class SideBar;
class MainWindow;



Q_DECL_EXPORT int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    QWidget *window = new QWidget;
    QPushButton *button1 = new QPushButton("One");
    QPushButton *button2 = new QPushButton("Two");
      QPushButton *button3 = new QPushButton("Three");
      QPushButton *button4 = new QPushButton("Four");
      QPushButton *button5 = new QPushButton("Five");

      QVBoxLayout *layout = new QVBoxLayout;
      layout->addWidget(button1);
      layout->addWidget(button2);
      layout->addWidget(button3);
      layout->addWidget(button4);
      layout->addWidget(button5);

      window->setLayout(layout);
      QObject::connect (button3,SIGNAL(clicked()),&app,SLOT (quit()));
      window->show();


      return app.exec();
}
